<?php

?>

<ul>
	<?php foreach ($this->item->files as $file): ?>
	<li>
    	<table cellpadding="0" cellspacing="0" border="0" width="100%">
        	<tr>
            	<td width="70%" align="left">
                    <h3><?php echo $file->name; ?></h3>
                    <div><?php echo $file->description; ?></div>    
                    <ul>
                    	<li>Họ tên: <?php echo $file->full_name; ?></li>
                    	<li>Môn, lĩnh vực: <?php echo $file->subject_name; ?></li>
                    	<li>Bậc học: <?php echo $file->level_name; ?></li>
                    </ul>            
                </td>
                <td width="30%">
                    <div class="detail">
                    File: <a href='<?php echo JRoute::_(JURI::base().'index.php?option=com_skkn&task=download&file='.$file->text_file);?>'>
                    <?php echo $file->text_file; ?>
                    </a><br />
                    Download: <?php echo '0'; ?><br />
                    Upload: <?php echo date('d-m-Y', strtotime($file->created)); ?><br />
                    </div>
                </td>
            </tr>
        </table>


	</li>
	<?php endforeach; ?>
</ul>